package com.biostime.springdraw.modules.sd.entity;

import java.util.Date;

import com.biostime.springdraw.common.persistence.DataEntity;

/**
 * 中奖表Entity
 * @author king
 * @version 2016-01-18
 */
/**
 * @author louis
 *
 */
public class Winner extends DataEntity<Winner> {

	private static final long serialVersionUID = 1L;
	
	private int memberId;// 微信用户编号
	private int awardId;// 奖品编号
	private String awardname;// 奖品名称
	private int isAward;// 是否中奖
	private Date awardOn;// 中奖时间
	private int isPrized;// 是否领奖
	private Date prizedOn;// 领奖时间
	private String receiver;// 领奖人
	private String recMobile;// 收货联系号码
	private String subMobile;//带有*号的手机号码
	private String recAddr;// 收货地址
	private String awardSectionCode;//阶段id
	private Member member;//用户
	private Award award;//奖品
	private String source;//来源
	private String shareCode;//分享码
	private String movieCode;//电影兑换码
	private String openid;//微信openid
	private int shareawardId;//分享单奖品编号
	private int sharegridId;//分享单宫格编号
	private int isLimit;//是否到有效期
	
	/**搜索条件所需**/
	private String nickname;//昵称
	private int is_overdue;//领取状况
	private String wechatName;//微信昵称
	public Winner(){
		super();
	}

	public Winner(String id){
		super(id);
	}
	
	public int getMemberId() {
		return memberId;
	}

	public void setMemberId(int memberId) {
		this.memberId = memberId;
	}
	
	public int getAwardId() {
		return awardId;
	}

	public void setAwardId(int awardId) {
		this.awardId = awardId;
	}
	
	public String getAwardname() {
		return awardname;
	}

	public void setAwardname(String awardname) {
		this.awardname = awardname;
	}
	
	public int getIsAward() {
		return isAward;
	}

	public void setIsAward(int isAward) {
		this.isAward = isAward;
	}
	
	public Date getAwardOn() {
		return awardOn;
	}

	public void setAwardOn(Date awardOn) {
		this.awardOn = awardOn;
	}
	
	public int getIsPrized() {
		return isPrized;
	}

	public void setIsPrized(int isPrized) {
		this.isPrized = isPrized;
	}
	
	public Date getPrizedOn() {
		return prizedOn;
	}

	public void setPrizedOn(Date prizedOn) {
		this.prizedOn = prizedOn;
	}
	
	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}
	
	public String getRecMobile() {
		return recMobile;
	}

	public void setRecMobile(String recMobile) {
		this.recMobile = recMobile;
	}
	
	public String getRecAddr() {
		return recAddr;
	}

	public void setRecAddr(String recAddr) {
		this.recAddr = recAddr;
	}

	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public Award getAward() {
		return award;
	}

	public void setAward(Award award) {
		this.award = award;
	}

	public String getSubMobile() {
		return subMobile;
	}

	public void setSubMobile(String subMobile) {
		this.subMobile = subMobile;
	}

	public String getAwardSectionCode() {
		return awardSectionCode;
	}

	public void setAwardSectionCode(String awardSectionCode) {
		this.awardSectionCode = awardSectionCode;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getShareCode() {
		return shareCode;
	}

	public void setShareCode(String shareCode) {
		this.shareCode = shareCode;
	}

	public int getShareawardId() {
		return shareawardId;
	}

	public void setShareawardId(int shareawardId) {
		this.shareawardId = shareawardId;
	}

	public int getSharegridId() {
		return sharegridId;
	}

	public void setSharegridId(int sharegridId) {
		this.sharegridId = sharegridId;
	}

	public int getIs_overdue() {
		return is_overdue;
	}

	public void setIs_overdue(int is_overdue) {
		this.is_overdue = is_overdue;
	}

	public String getMovieCode() {
		return movieCode;
	}

	public void setMovieCode(String movieCode) {
		this.movieCode = movieCode;
	}

	public int getIsLimit() {
		return isLimit;
	}

	public void setIsLimit(int isLimit) {
		this.isLimit = isLimit;
	}

	public String getWechatName() {
		return wechatName;
	}

	public void setWechatName(String wechatName) {
		this.wechatName = wechatName;
	}
	
}